/**
 * 逻辑、功能相关描述:
 *
 * @author yandawei 编写日期：2008-12-29
 */
package com.ce.pms.system.occupation.model;

import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

import com.ce.pms.common.model.SysInfo;
import com.sitechasia.webx.core.model.IDomainObject;

/**
 * 实体名称:缺失或发送资料设置 关联数据表:OM_ABSENT_SEND_DOC_CONFIG
 *
 * @author yandawei
 * @CreateDate:2008-12-24
 */
@Entity
@Table(name = "OM_ABSENT_SEND_DOC_CONFIG")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
@DiscriminatorColumn(name = "DOCUMENT_TYPE", discriminatorType = DiscriminatorType.STRING)
public abstract class AbstractDocumentItemConfigDO implements IDomainObject {
	/**
	 * 主键
	 */
	@Id
	@GeneratedValue
	@Column(name = "SEND_DOCUMENT_ITEM_ID")
	private Long keyword;

	/**
	 * 序号
	 */
	@Column(name = "SEQUENCE")
	protected Short sequence;

	/**
	 * 系统信息
	 */
	@Embedded
	@AttributeOverride(name = "sysDate", column = @Column(name = "SYS_DATE"))
	protected SysInfo sysInfo;

	public AbstractDocumentItemConfigDO() {
	}

	public AbstractDocumentItemConfigDO(Long keyword) {
		this.keyword = keyword;
	}

	public Short getSequence() {
		return this.sequence;
	}

	public void setSequence(Short sequence) {
		this.sequence = sequence;
	}

	public Long getKeyword() {
		return keyword;
	}

	public void setKeyword(Long keyword) {
		this.keyword = keyword;
	}

	public SysInfo getSysInfo() {
		return sysInfo;
	}

	public void setSysInfo(SysInfo sysInfo) {
		this.sysInfo = sysInfo;
	}

}
